<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>
  
</body>

    <script>
        if(document.all)
        {
            document.write('IE');
        }
        else
        {
            document.write('非IE');
        }

        // console.log(document.all);
        
        //只读
        console.log('域名:'+document.domain);

        console.log('文档最后一次修改时间:'+document.lastModified);
        console.log('上一个页面:'+document.referer);
        console.log('URL:'+document.URL);

        //document.domain = 'http://163.com' //NO
        //title
        document.domain(document.title);
        document.title = '555';
    </script>
</html>